package com.arturjaneczko.view.impl.clipboard.preview;

import java.awt.Dimension;
import java.util.ArrayList;

import javax.swing.BorderFactory;
import javax.swing.JLabel;

import com.arturjaneczko.model.core.IModel;
import com.arturjaneczko.view.core.AView;
import com.arturjaneczko.view.impl.clipboard._component.Color;

public class TypeView extends AView {

	private JLabel label;

	public TypeView(IModel model) {
		super(model);
		compositeList = new ArrayList<>();
	}

	@Override
	public void ui() {
		label = new JLabel();
		label.setText("type");
//		label.setHorizontalAlignment(JLabel.CENTER);
		label.setBorder(BorderFactory.createLineBorder(Color.SUPER_RED.getColor()));
		label.setOpaque(false);
		label.setPreferredSize(new Dimension(22, 22));

		uiComposite(this, label, null);
	}
}
